package fr.vincent.aquarium.metier.produit;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import fr.vincent.aquarium.metier.article.Article;

@Entity
@Table(name = "Produit")
public class Produit extends Article implements Serializable {

	private static final long serialVersionUID = -409733265964246464L;
	private String nom;
	private double prix;
	private String description;

	@Column(name = "nom", nullable = false)
	public String getNom() {
		return nom;
	}

	public void setSurface(String nom) {
		this.nom = nom;
	}
	
	@Column(name = "prix", nullable = false)
	public double getDouble() {
		return prix;
	}

	public void setPrix(double prix) {
		this.prix = prix;
	}
	
	@Column(name = "description", nullable = false)
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
